package com.example.demo.mapper;


import com.example.demo.ao.CreateMeetingAo;
import com.example.demo.ao.InsertMeetingMinutesAo;
import com.example.demo.ao.MeetingMinutesAo;
import com.example.demo.vo.MeetingMinutesVo;
import com.example.demo.vo.MeetingRoomVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MeetingMinutesMapper {

    List<MeetingMinutesVo> getMeetingMinutes(@Param("ao") MeetingMinutesAo meetingMinutesAo, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    int getMeetingMinutesTotal(@Param("ao") MeetingMinutesAo meetingMinutesAo);


    List<MeetingMinutesVo> getMeetingMinutesInfo(@Param("ao") MeetingMinutesAo meetingMinutesAo);


    int insertMeetingMinutes(@Param("ao") InsertMeetingMinutesAo insertMeetingMinutesAo);


    int updateMeetingMinutes(@Param("ao") InsertMeetingMinutesAo insertMeetingMinutesAo);


    List<MeetingRoomVo> getMeetingRoom();


    int insertMeetingRoom(@Param("ao") CreateMeetingAo createMeetingAo);


    List<MeetingRoomVo> getMeetingRoomInfo(@Param("ao") CreateMeetingAo createMeetingAo);


    int insertMeetingApplication(@Param("ao") CreateMeetingAo createMeetingAo);


    int updateMeetingRoomApplication(@Param("ao") CreateMeetingAo createMeetingAo);


    List<MeetingRoomVo> getUserRoomInfo(@Param("ao") CreateMeetingAo createMeetingAo, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    int getUserRoomCount(@Param("ao") CreateMeetingAo createMeetingAo);

    List<MeetingRoomVo> getRoomAnalyse(@Param("ao") CreateMeetingAo createMeetingAo, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    int getRoomAnalyseCount(@Param("ao") CreateMeetingAo createMeetingAo);

}
